package com.qf.user.client;

import com.qf.base.dto.sms.SmsDTO;
import com.qf.base.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 汤奇
 * @version V1.0
 * @Project BookPro
 * @Package com.qf.user.client
 * @Description:
 * @Date 2022/8/1 21:12
 */
@FeignClient(value = "sms-service")
public interface SmsClient {
    @PostMapping("qf/sms/send")
    R send(@RequestBody SmsDTO smsDTO);

    @PostMapping("qf/sms/check")
    R check(@RequestBody SmsDTO smsDTO);
}
